\(\int \frac {1}{(-2+3 x^2) (-1+3 x^2)^{3/4}} \, dx\) [1090]

   Optimal result
   Rubi [A] (verified)
   Mathematica [C] (verified)
   Maple [F]
   Fricas [F]
   Sympy [F]
   Maxima [F]
   Giac [F]
   Mupad [F(-1)]

Optimal result

Integrand size = 21, antiderivative size = 127 \[ \int \frac {1}{\left (-2+3 x^2\right ) \left (-1+3 x^2\right )^{3/4}} \, dx=\frac {\arctan \left (\frac {\sqrt {\frac {3}{2}} x}{\sqrt [4]{-1+3 x^2}}\right )}{2 \sqrt {6}}-\frac {\text {arctanh}\left (\frac {\sqrt {\frac {3}{2}} x}{\sqrt [4]{-1+3 x^2}}\right )}{2 \sqrt {6}}-\frac {\sqrt {\frac {x^2}{\left (1+\sqrt {-1+3 x^2}\right )^2}} \left (1+\sqrt {-1+3 x^2}\right ) \operatorname {EllipticF}\left (2 \arctan \left (\sqrt [4]{-1+3 x^2}\right ),\frac {1}{2}\right )}{2 \sqrt {3} x} \]

[Out]

1/12*arctan(1/2*x*6^(1/2)/(3*x^2-1)^(1/4))*6^(1/2)-1/12*arctanh(1/2*x*6^(1/2)/(3*x^2-1)^(1/4))*6^(1/2)-1/6*(co
s(2*arctan((3*x^2-1)^(1/4)))^2)^(1/2)/cos(2*arctan((3*x^2-1)^(1/4)))*EllipticF(sin(2*arctan((3*x^2-1)^(1/4))),
1/2*2^(1/2))*(1+(3*x^2-1)^(1/2))*(x^2/(1+(3*x^2-1)^(1/2))^2)^(1/2)/x*3^(1/2)

Rubi [A] (verified)

Time = 0.03 (sec) , antiderivative size = 127, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.190, Rules used = {409, 240, 226, 453} \[ \int \frac {1}{\left (-2+3 x^2\right ) \left (-1+3 x^2\right )^{3/4}} \, dx=\frac {\arctan \left (\frac {\sqrt {\frac {3}{2}} x}{\sqrt [4]{3 x^2-1}}\right )}{2 \sqrt {6}}-\frac {\sqrt {\frac {x^2}{\left (\sqrt {3 x^2-1}+1\right )^2}} \left (\sqrt {3 x^2-1}+1\right ) \operatorname {EllipticF}\left (2 \arctan \left (\sqrt [4]{3 x^2-1}\right ),\frac {1}{2}\right )}{2 \sqrt {3} x}-\frac {\text {arctanh}\left (\frac {\sqrt {\frac {3}{2}} x}{\sqrt [4]{3 x^2-1}}\right )}{2 \sqrt {6}} \]

[In]

Int[1/((-2 + 3*x^2)*(-1 + 3*x^2)^(3/4)),x]

[Out]

ArcTan[(Sqrt[3/2]*x)/(-1 + 3*x^2)^(1/4)]/(2*Sqrt[6]) - ArcTanh[(Sqrt[3/2]*x)/(-1 + 3*x^2)^(1/4)]/(2*Sqrt[6]) -
 (Sqrt[x^2/(1 + Sqrt[-1 + 3*x^2])^2]*(1 + Sqrt[-1 + 3*x^2])*EllipticF[2*ArcTan[(-1 + 3*x^2)^(1/4)], 1/2])/(2*S
qrt[3]*x)

Rule 226

Int[1/Sqrt[(a_) + (b_.)*(x_)^4], x_Symbol] :> With[{q = Rt[b/a, 4]}, Simp[(1 + q^2*x^2)*(Sqrt[(a + b*x^4)/(a*(
1 + q^2*x^2)^2)]/(2*q*Sqrt[a + b*x^4]))*EllipticF[2*ArcTan[q*x], 1/2], x]] /; FreeQ[{a, b}, x] && PosQ[b/a]

Rule 240

Int[((a_) + (b_.)*(x_)^2)^(-3/4), x_Symbol] :> Dist[2*(Sqrt[(-b)*(x^2/a)]/(b*x)), Subst[Int[1/Sqrt[1 - x^4/a],
 x], x, (a + b*x^2)^(1/4)], x] /; FreeQ[{a, b}, x] && NegQ[a]

Rule 409

Int[1/(((a_) + (b_.)*(x_)^2)^(3/4)*((c_) + (d_.)*(x_)^2)), x_Symbol] :> Dist[1/c, Int[1/(a + b*x^2)^(3/4), x],
 x] - Dist[d/c, Int[x^2/((a + b*x^2)^(3/4)*(c + d*x^2)), x], x] /; FreeQ[{a, b, c, d}, x] && EqQ[b*c - 2*a*d,
0]

Rule 453

Int[(x_)^2/(((a_) + (b_.)*(x_)^2)^(3/4)*((c_) + (d_.)*(x_)^2)), x_Symbol] :> Simp[(-b/(Sqrt[2]*a*d*Rt[-b^2/a,
4]^3))*ArcTan[(Rt[-b^2/a, 4]*x)/(Sqrt[2]*(a + b*x^2)^(1/4))], x] + Simp[(b/(Sqrt[2]*a*d*Rt[-b^2/a, 4]^3))*ArcT
anh[(Rt[-b^2/a, 4]*x)/(Sqrt[2]*(a + b*x^2)^(1/4))], x] /; FreeQ[{a, b, c, d}, x] && EqQ[b*c - 2*a*d, 0] && Neg
Q[b^2/a]

Rubi steps \begin{align*} \text {integral}& = -\left (\frac {1}{2} \int \frac {1}{\left (-1+3 x^2\right )^{3/4}} \, dx\right )+\frac {3}{2} \int \frac {x^2}{\left (-2+3 x^2\right ) \left (-1+3 x^2\right )^{3/4}} \, dx \\ & = \frac {\tan ^{-1}\left (\frac {\sqrt {\frac {3}{2}} x}{\sqrt [4]{-1+3 x^2}}\right )}{2 \sqrt {6}}-\frac {\tanh ^{-1}\left (\frac {\sqrt {\frac {3}{2}} x}{\sqrt [4]{-1+3 x^2}}\right )}{2 \sqrt {6}}-\frac {\sqrt {x^2} \text {Subst}\left (\int \frac {1}{\sqrt {1+x^4}} \, dx,x,\sqrt [4]{-1+3 x^2}\right )}{\sqrt {3} x} \\ & = \frac {\tan ^{-1}\left (\frac {\sqrt {\frac {3}{2}} x}{\sqrt [4]{-1+3 x^2}}\right )}{2 \sqrt {6}}-\frac {\tanh ^{-1}\left (\frac {\sqrt {\frac {3}{2}} x}{\sqrt [4]{-1+3 x^2}}\right )}{2 \sqrt {6}}-\frac {\sqrt {\frac {x^2}{\left (1+\sqrt {-1+3 x^2}\right )^2}} \left (1+\sqrt {-1+3 x^2}\right ) F\left (2 \tan ^{-1}\left (\sqrt [4]{-1+3 x^2}\right )|\frac {1}{2}\right )}{2 \sqrt {3} x} \\ \end{align*}

Mathematica [C] (verified)

Result contains complex when optimal does not.

Time = 5.49 (sec) , antiderivative size = 68, normalized size of antiderivative = 0.54 \[ \int \frac {1}{\left (-2+3 x^2\right ) \left (-1+3 x^2\right )^{3/4}} \, dx=\frac {\sqrt [4]{-1} \sqrt {x^2} \left (\operatorname {EllipticPi}\left (-i,\arcsin \left ((-1)^{3/4} \sqrt [4]{-1+3 x^2}\right ),-1\right )+\operatorname {EllipticPi}\left (i,\arcsin \left ((-1)^{3/4} \sqrt [4]{-1+3 x^2}\right ),-1\right )\right )}{\sqrt {3} x} \]

[In]

Integrate[1/((-2 + 3*x^2)*(-1 + 3*x^2)^(3/4)),x]

[Out]

((-1)^(1/4)*Sqrt[x^2]*(EllipticPi[-I, ArcSin[(-1)^(3/4)*(-1 + 3*x^2)^(1/4)], -1] + EllipticPi[I, ArcSin[(-1)^(
3/4)*(-1 + 3*x^2)^(1/4)], -1]))/(Sqrt[3]*x)

Maple [F]

\[\int \frac {1}{\left (3 x^{2}-2\right ) \left (3 x^{2}-1\right )^{\frac {3}{4}}}d x\]

[In]

int(1/(3*x^2-2)/(3*x^2-1)^(3/4),x)

[Out]

int(1/(3*x^2-2)/(3*x^2-1)^(3/4),x)

Fricas [F]

\[ \int \frac {1}{\left (-2+3 x^2\right ) \left (-1+3 x^2\right )^{3/4}} \, dx=\int { \frac {1}{{\left (3 \, x^{2} - 1\right )}^{\frac {3}{4}} {\left (3 \, x^{2} - 2\right )}} \,d x } \]

[In]

integrate(1/(3*x^2-2)/(3*x^2-1)^(3/4),x, algorithm="fricas")

[Out]

integral((3*x^2 - 1)^(1/4)/(9*x^4 - 9*x^2 + 2), x)

Sympy [F]

\[ \int \frac {1}{\left (-2+3 x^2\right ) \left (-1+3 x^2\right )^{3/4}} \, dx=\int \frac {1}{\left (3 x^{2} - 2\right ) \left (3 x^{2} - 1\right )^{\frac {3}{4}}}\, dx \]

[In]

integrate(1/(3*x**2-2)/(3*x**2-1)**(3/4),x)

[Out]

Integral(1/((3*x**2 - 2)*(3*x**2 - 1)**(3/4)), x)

Maxima [F]

\[ \int \frac {1}{\left (-2+3 x^2\right ) \left (-1+3 x^2\right )^{3/4}} \, dx=\int { \frac {1}{{\left (3 \, x^{2} - 1\right )}^{\frac {3}{4}} {\left (3 \, x^{2} - 2\right )}} \,d x } \]

[In]

integrate(1/(3*x^2-2)/(3*x^2-1)^(3/4),x, algorithm="maxima")

[Out]

integrate(1/((3*x^2 - 1)^(3/4)*(3*x^2 - 2)), x)

Giac [F]

\[ \int \frac {1}{\left (-2+3 x^2\right ) \left (-1+3 x^2\right )^{3/4}} \, dx=\int { \frac {1}{{\left (3 \, x^{2} - 1\right )}^{\frac {3}{4}} {\left (3 \, x^{2} - 2\right )}} \,d x } \]

[In]

integrate(1/(3*x^2-2)/(3*x^2-1)^(3/4),x, algorithm="giac")

[Out]

integrate(1/((3*x^2 - 1)^(3/4)*(3*x^2 - 2)), x)

Mupad [F(-1)]

Timed out. \[ \int \frac {1}{\left (-2+3 x^2\right ) \left (-1+3 x^2\right )^{3/4}} \, dx=\int \frac {1}{{\left (3\,x^2-1\right )}^{3/4}\,\left (3\,x^2-2\right )} \,d x \]

[In]

int(1/((3*x^2 - 1)^(3/4)*(3*x^2 - 2)),x)

[Out]

int(1/((3*x^2 - 1)^(3/4)*(3*x^2 - 2)), x)